package com.fire.dao;

import com.fire.domain.Teacher;

import java.io.IOException;
import java.time.LocalDateTime;
import java.util.ArrayList;

public interface ITeacherDao {
    LocalDateTime isHaveChance(String name,LocalDateTime now) throws IOException;

    int Login(String name, String password) throws IOException;

    ArrayList<Teacher> findAll() throws IOException;

    void Register(String id, String p1) throws IOException;

    LocalDateTime WriterAndClear(String name, LocalDateTime now) throws IOException;

    LocalDateTime CloseTime(String name) throws IOException;

    LocalDateTime RegisterTime(String name) throws IOException;

    void WriteCloseTime(String name) throws IOException;
}
